BooleanTable
BooleanTable[bf] gives a list of truth values for all possible combinations of variable values supplied to the Boolean function bf.
BooleanTable[expr,{a1,a2,…}] gives a list of the truth values of the Boolean expression expr for all possible combinations of values of the ai.
BooleanTable[expr,{a1,a2,…},{b1,…},…] gives a nested table of truth values of expr with the outermost level giving possible combinations of the ai.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.